﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IHISCETeim.BLL;

namespace IHISCETeim.Web.MachineSys.MacModel
{
    public partial class ExeclOControlTicket : OControlTicketList
    {
        protected override Permission[] PowerKey
        {
            get
            {
                return new Permission[] { Permission.导出 };
            }
        }
        protected override string DWZRef
        {
            get
            {
                return "OControlTicketList";
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            BindDate();
        }

        private void BindDate()
        {
            this.rpMenu.DataSource = OControlTicketController.GetPagination(GetWhereSql(), pageNum, 999999999, SQLSort, ref TotalCount);
            this.rpMenu.DataBind();
            ExportToExecl("初加工物管制票列表", this.Panel1);
        }
    }
}